package com.lp.biz.identity.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serial;
import java.math.BigDecimal;

import lombok.Data;

/**
 * advisor实体类
 * 知识顾问
 * @program: backend
 * @author Ke.Song
 * @since 2024-06-05 23:40:55
 */
@Data
@TableName("advisor")
public class Advisor implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField("`name`")
    private String name;

    @TableField("`code`")
    private String code;

    /**
     * 费率
     */
    private BigDecimal rate;

    /**
     * 条件
     */
    @TableField("`condition`")
    private Integer condition;

    private Integer preId;

    private String preIds;


}
